# Description: Varnish bir web uygulaması hızlandırıcısıdır.
# URL: http://www.varnish-cache.org/
# Packager: milisarge
# Depends on: libedit pcre python-docutils 

name=varnish
version=4.0.3
release=1

source=(
http://repo.varnish-cache.org/source/$name-$version.tar.gz
varnish.service)

build(){
    cd $name-$version
    ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --localstatedir=/var/lib
    make
    make DESTDIR=$PKG install

    # install the varnish init script
    install -Dm755 $SRC/$name.service $PKG/etc/rc.d/init.d/$name
}
